﻿body
{
    margin: 0;
    padding: 0;
    background: #606060;
}

a:link
{
    color: #034af3;
    text-decoration: underline;
}
a:visited
{
    color: #505abc;
}
a:hover
{
    color: #1d60ff;
    text-decoration: none;
}
a:active
{
    color: #12eb87;
}

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 { font-size: 1.5em; }

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}
#pageOverlay
{
    text-align: center;
    margin: 0 auto;
}

#pageShadow
{
    position: absolute;
    width: 90%;
    left: 5%;
    top: 20px;
}

#header
{
    position: relative;
    margin-bottom: 0px;
    padding: 0;
}

#header h1
{
    font-weight: bold;
    margin: 18px 0 0 0;
    border: none;
    line-height: 1em;
    font-size: 1.7em;
}

#main
{
    padding: 30px;
    margin-bottom: 10px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
}

#footer
{
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
}

span.admin { float:right; line-height:200%; font-size:0.8em; padding-bottom:15px; }
span.admin a { color:#b0b0b0; }

/* TAB MENU   
----------------------------------------------------------*/
#menucontainer
{
    margin-top:20px;
    margin-right:6px;
    margin-bottom:6px;
    text-align:right;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset 
{
    border:1px solid #ddd;
    padding:0 1.4em 1.4em 1.4em;
    margin:0 0 1.5em 0;
}

legend 
{
    font-size:1.2em;
    font-weight: bold;
}

textarea 
{
    min-height: 75px;
}

input[type="text"] 
{
    width: 200px;
    border: 1px solid #CCC;
}

input[type="password"] 
{
    width: 200px;
    border: 1px solid #CCC;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color:Red;
}

div#title
{
    display:block;
    float:left;
    text-align:left;
    margin-left:20px;
}

#logindisplay
{
    font-size:1.1em;
    display:block;
    text-align:right;
    margin:5px 10px 0 0;
    color:White;
}

#logindisplay a:link
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.editor-label
{
    margin: 1em 0 0 0;
}

.display-field,
.editor-field
{
    margin:0.5em 0 0 0;
}

.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}

/* Styles for Index.cshtml
----------------------------------------------------------*/
.welcome { padding:10px; margin-bottom:15px; width:550px; font-size:1.2em; }
.welcome span { font-size:0.7em; }

/* Styles for _CompactLayout.cshtml
----------------------------------------------------------*/
#header #survey-title { display:block; padding:4px 0 20px 20px; }
#header .themeContainer { float:right; margin:5px 9px 0 0; }

/* Styles for question buttons
----------------------------------------------------------*/
.question-buttons { font-size: x-small; vertical-align: bottom; margin-left: 10px; }

/* Styles for inputs & textareas
----------------------------------------------------------*/
label.text { display:block; }
input.text, textarea.text { margin-bottom:12px; width:95%; padding:.4em; }
textarea.text { height:140px; }

/* Styles for forms
----------------------------------------------------------*/
.ui-dialog .ui-state-error { padding: .3em; }
.validateTips { border: 1px solid transparent; padding: 0.3em; }

/* Styles for _LogOnPartial.cshtml
----------------------------------------------------------*/
#logOnMessage { font-size:0.8em; font-weight:normal; }
#logOnMessage span { font-size:0.9em; }
#logOnDialog label, #logOnDialog input,
#registerDialog label, #registerDialog input,
#changePasswordDialog label, #changePasswordDialog input{ display:block; }
#logOnDialog fieldset,
#registerDialog fieldset,
#changePasswordDialog fieldset { padding:0; border:0; margin-top:25px; }

/* Styles for EditSurvey.cshtml
----------------------------------------------------------*/
#surveyTitle label, #surveyTitle input { display:block; }
#surveyTitle input.text, #surveyTitle input.text { margin-bottom:12px; width:95%; padding: .4em; }

/* Styles for slider container
----------------------------------------------------------*/
table.slider { float:right; font-size:0.8em; margin:-10px -10px 0 0; }

/* Styles for _ThemePartial.cshtml
----------------------------------------------------------*/
.theme { margin-top:3px; }
.theme div {  width:15px; height:15px; display:inline-block; cursor:pointer; margin:2px 2px 2px 5px; }
.theme div:hover { border:2px solid #ffffff; margin:0 0 0 3px; }
.theme .active { border:2px solid #ffffff; margin:0 0 0 3px; }

/* Styles for question editing template
----------------------------------------------------------*/
ul#questions { list-style-type:none; padding-left:0; }
ul#questions .handle { float:left; width:10px; height:85px; cursor:move; margin:5px 0 0 0; }
ul#questions p.title,
ul#questions p.options { margin-left: 22px; }
.questionPlaceHolder { height:140px; }

/* Styles for SurveyReport.cshtml
----------------------------------------------------------*/
.report-question-title { text-align:center; font-size:1.2em; border-bottom:3px double #333333; line-height:250%; margin-bottom:10px; }
.report-question-options { width:100%; margin-bottom:20px }
.report-question-options .text { width:25%; text-align:right; }
.report-question-options .bar { width:55%; }
.report-question-options .bar div { background-color:#F49600; border-style:solid; border-width:2px; border-left-color:#F2BB68; border-top-color:#F2BB68; border-right-color:#B56C00; border-bottom-color:#B56C00; height:20px; }
.report-question-options .value { width:20%;padding-left:20px; }